package com.zhipu.resetbalance.pop;

import android.content.Context;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.lxj.xpopup.core.CenterPopupView;
import com.zhipu.resetbalance.R;

public class BeCommonPopup extends CenterPopupView {
    /**
     * 提升语
     */
    private TextView mElevatingLanguage;

    public BeCommonPopup(@NonNull Context context) {
        super(context);
    }


    @Override
    protected int getImplLayoutId() {

        return R.layout.popup_be_common;

    }

    @Override
    protected void onCreate() {
        super.onCreate();
        mElevatingLanguage = findViewById(R.id.ElevatingLanguage);
    }



    /**
     * 内容
     * @param elevatingLanguage
     */
    public void setElevatingLanguage(String elevatingLanguage){
        if(null == mElevatingLanguage){
            mElevatingLanguage = findViewById(R.id.ElevatingLanguage);
        }
        mElevatingLanguage.setText(elevatingLanguage);
    }

}
